package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 处方药品对应对象 med_med_pre
 * 
 * @author yangxp
 * @date 2020-07-31
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("med_med_pre")
public class MedPre implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** $column.columnComment */
    @TableId(value = "med_id", type = IdType.AUTO)
    private String medId;

    /** $column.columnComment */
    @TableId(value = "pre_id", type = IdType.AUTO)
    private String preId;

    @TableField(value = "med_gram")
    private BigDecimal medGram;

    /** $column.columnComment */

    private Date gmtCreate;

    /** $column.columnComment */

    private Date gmtModified;

}
